package com.aiyige.model.pingxx;

public class PingPayModel {
    private String orderId;
    private String sellerPhone;
    private int payMethod;
    private String pingPayOrder;
    private String orderCode;
    private int payed;
    private double availableBalance;// 可用余额

    public String getOrderId() {
        return orderId == null ? "" : orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? "" : orderId;
    }

    public String getSellerPhone() {
        return sellerPhone == null ? "" : sellerPhone;
    }

    public void setSellerPhone(String sellerPhone) {
        this.sellerPhone = sellerPhone == null ? "" : sellerPhone;
    }

    public int getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(int payMethod) {
        this.payMethod = payMethod;
    }

    public String getPingPayOrder() {
        return pingPayOrder == null ? "" : pingPayOrder;
    }

    public void setPingPayOrder(String pingPayOrder) {
        this.pingPayOrder = pingPayOrder == null ? "" : pingPayOrder;
    }

    public String getOrderCode() {
        return orderCode == null ? "" : orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode == null ? "" : orderCode;
    }

    public int getPayed() {
        return payed;
    }

    public void setPayed(int payed) {
        this.payed = payed;
    }

    public boolean isPayed() {
        return getPayed() == 1;
    }

    public double getAvailableBalance() {
        return availableBalance;
    }

    public void setAvailableBalance(double availableBalance) {
        this.availableBalance = availableBalance;
    }
}
